from PyQt5.QtWidgets import QWidget

class RightWidget(QWidget):
    _instance = None  # 用于保存单例实例

    def __new__(cls, *args, **kwargs):
        # 保证窗口的单列模式
        if not cls._instance:
            cls._instance = super(RightWidget, cls).__new__(cls, *args, **kwargs)

        return cls._instance

    def __init__(self):
        super(RightWidget, self).__init__()
        # self.setFixedSize(900, 500)

    def fill_data(self):
        pass